import request from '../utils/request.js'

//查询订单列表
export const api_query=(data)=>{
    return request.get('/order/list',data)
}

//订单id详情
export const api_one=(data)=>{
    return request.get('/order/detail',data)
}

//修改订单
export const api_update=(data)=>{
    return request.post('/order/edit',data)
}

// 定义查询订单统计的接口
export const api_census_order=data=>request.get("/order/ordertotal",data);


